<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@page import="com.pojo.User"%>
<%@page import="com.Dao.UserDao"%>
<%
	request.setCharacterEncoding("UTF-8");
	Integer Uid= Integer.valueOf(request.getParameter("Uid"));
	String Uexplain = request.getParameter("Uexplain");
	//判断是否已经存在此分类
	UserDao userDao = new UserDao();
		User user = new User(Uid,Uexplain);
		
	//3、创建UserDao对象
	userDao.Updateinventory(Uid,Uexplain);
	response.sendRedirect("../personage/personage.jsp");
	//4、执行数据库存储操作
	
%>
